package entity;

import java.util.UUID;

public class User {
    private int userID;
    private String username;
    private String name;
    private String password;
    private String studentID;
    private String email;

    private String tel;

    private String academy;

    public User(String username, String name, String password, String studentID, String email,String tel,String academy) {
        this.username = username;
        this.name = name;
        this.password = password;
        this.studentID = studentID;
        this.email = email;
        this.tel = tel;
        this.academy = academy;
    }

    public User(int userID, String username, String name, String password, String studentID, String email, String tel, String academy) {
        this.userID = userID;
        this.username = username;
        this.name = name;
        this.password = password;
        this.studentID = studentID;
        this.email = email;
        this.tel = tel;
        this.academy = academy;
    }

    public int getUserID() {
        return userID;
    }

    public void setUserID(int userID) {
        this.userID = userID;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getStudentID() {
        return studentID;
    }

    public void setStudentID(String studentID) {
        this.studentID = studentID;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAcademy() {
        return academy;
    }

    public void setAcademy(String academy) {
        this.academy = academy;
    }

    @Override
    public String toString() {
        return "User{" +
                "userID=" + userID +
                ", username='" + username + '\'' +
                ", name='" + name + '\'' +
                ", password='" + password + '\'' +
                ", studentID='" + studentID + '\'' +
                ", email='" + email + '\'' +
                ", tel='" + tel + '\'' +
                ", academy='" + academy + '\'' +
                '}';
    }
}
